package cn.method;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/5/10 18:10
 */
public class Main {
    public static void main(String[] args) {
        WulingCarFactory wulingCarFactory = new WulingCarFactory();
        Car car = wulingCarFactory.getCar();
        car.name();

        Car car1 =  new MobaiCarFactory().getCar();
        car1.name();

        Car car2 =  new TesalCarFactory().getCar();
        car2.name();
    }
}
